//
//  MyWeather.h
//  Ghac 4S
//
//  Created by apple on 11-12-8.
//  Copyright (c) 2011年 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "WeatherProcess.h"
@class MyWeather;
@protocol WeatherDelegate <NSObject>
-(void) onWeatherUpdate:(MyWeather*)sender;
@end

@interface MyWeather : NSObject <WeatherProcess, CLLocationManagerDelegate>
{
    NSTimer*                m_timer;
    NSString*               templeture;
    id<WeatherDelegate>     m_delegate;
}
-(void)errorOnGettingCity:(NSError *)err;
-(id)initWithDelegate:(id<WeatherDelegate>)delegate;
@property (nonatomic, copy) NSString* templeture;
@property (nonatomic, retain) UIImage* weatherImage;
@end
